package com.demo.test.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author XieHuan
 * @since 2017-06-15
 */
public class Tongji extends Model<Tongji> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
	private Integer id;
    /**
     * 对战id
     */
	private String battleid;
    /**
     * 第一位选手id
     */
	@TableField("first_singid")
	private String firstSingid;
    /**
     * 第一位选手选票
     */
	@TableField("first_sinpiao")
	private String firstSinpiao;
	@TableField("second_singid")
	private String secondSingid;
    /**
     * 第二位选手选票
     */
	@TableField("second_singpiao")
	private String secondSingpiao;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBattleid() {
		return battleid;
	}

	public void setBattleid(String battleid) {
		this.battleid = battleid;
	}

	public String getFirstSingid() {
		return firstSingid;
	}

	public void setFirstSingid(String firstSingid) {
		this.firstSingid = firstSingid;
	}

	public String getFirstSinpiao() {
		return firstSinpiao;
	}

	public void setFirstSinpiao(String firstSinpiao) {
		this.firstSinpiao = firstSinpiao;
	}

	public String getSecondSingid() {
		return secondSingid;
	}

	public void setSecondSingid(String secondSingid) {
		this.secondSingid = secondSingid;
	}

	public String getSecondSingpiao() {
		return secondSingpiao;
	}

	public void setSecondSingpiao(String secondSingpiao) {
		this.secondSingpiao = secondSingpiao;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
